#ifndef SCANNER_H_
#define SCANNER_H_

#include <iostream>
#include <string>

using namespace std;

class Scanner
{
public:
	Scanner();
	void init(string data_);
	char peek();
	char pop();
	unsigned get_pos();
private:
	string preprocess(string in);
	string data;
	unsigned next;
};
#endif